
arpsender.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
   0:	a9b37bfd 	stp	x29, x30, [sp, #-208]!
   4:	910003fd 	mov	x29, sp
   8:	b9001fa0 	str	w0, [x29, #28]
   c:	f9000ba1 	str	x1, [x29, #16]
  10:	a908ffbf 	stp	xzr, xzr, [x29, #136]
  14:	a909ffbf 	stp	xzr, xzr, [x29, #152]
  18:	f90057bf 	str	xzr, [x29, #168]
  1c:	790163bf 	strh	wzr, [x29, #176]
  20:	b90033bf 	str	wzr, [x29, #48]
  24:	79006bbf 	strh	wzr, [x29, #52]
  28:	90000000 	adrp	x0, 0 <main>
  2c:	91000001 	add	x1, x0, #0x0
  30:	9100a3a0 	add	x0, x29, #0x28
  34:	b9400022 	ldr	w2, [x1]
  38:	b9000002 	str	w2, [x0]
  3c:	b8402021 	ldur	w1, [x1, #2]
  40:	b8002001 	stur	w1, [x0, #2]
  44:	b9401fa0 	ldr	w0, [x29, #28]
  48:	71000c1f 	cmp	w0, #0x3
  4c:	54000100 	b.eq	6c <main+0x6c>  // b.none
  50:	f9400ba0 	ldr	x0, [x29, #16]
  54:	f9400001 	ldr	x1, [x0]
  58:	90000000 	adrp	x0, 0 <main>
  5c:	91000000 	add	x0, x0, #0x0
  60:	94000000 	bl	0 <printf>
  64:	52800020 	mov	w0, #0x1                   	// #1
  68:	94000000 	bl	0 <exit>
  6c:	52800060 	mov	w0, #0x3                   	// #3
  70:	94000000 	bl	0 <htons>
  74:	12003c00 	and	w0, w0, #0xffff
  78:	2a0003e2 	mov	w2, w0
  7c:	52800061 	mov	w1, #0x3                   	// #3
  80:	52800220 	mov	w0, #0x11                  	// #17
  84:	94000000 	bl	0 <socket>
  88:	b900cfa0 	str	w0, [x29, #204]
  8c:	b940cfa0 	ldr	w0, [x29, #204]
  90:	7100001f 	cmp	w0, #0x0
  94:	540000ca 	b.ge	ac <main+0xac>  // b.tcont
  98:	90000000 	adrp	x0, 0 <main>
  9c:	91000000 	add	x0, x0, #0x0
  a0:	94000000 	bl	0 <perror>
  a4:	52800020 	mov	w0, #0x1                   	// #1
  a8:	94000000 	bl	0 <exit>
  ac:	9101c3a0 	add	x0, x29, #0x70
  b0:	d2800281 	mov	x1, #0x14                  	// #20
  b4:	94000000 	bl	0 <bzero>
  b8:	9100e3a0 	add	x0, x29, #0x38
  bc:	d2800501 	mov	x1, #0x28                  	// #40
  c0:	94000000 	bl	0 <bzero>
  c4:	f9400ba0 	ldr	x0, [x29, #16]
  c8:	91002000 	add	x0, x0, #0x8
  cc:	f9400001 	ldr	x1, [x0]
  d0:	9100e3a0 	add	x0, x29, #0x38
  d4:	94000000 	bl	0 <strcpy>
  d8:	9100e3a0 	add	x0, x29, #0x38
  dc:	aa0003e2 	mov	x2, x0
  e0:	d2912661 	mov	x1, #0x8933                	// #35123
  e4:	b940cfa0 	ldr	w0, [x29, #204]
  e8:	94000000 	bl	0 <ioctl>
  ec:	3100041f 	cmn	w0, #0x1
  f0:	540000c1 	b.ne	108 <main+0x108>  // b.any
  f4:	90000000 	adrp	x0, 0 <main>
  f8:	91000000 	add	x0, x0, #0x0
  fc:	94000000 	bl	0 <perror>
 100:	52800020 	mov	w0, #0x1                   	// #1
 104:	94000000 	bl	0 <exit>
 108:	b9404ba0 	ldr	w0, [x29, #72]
 10c:	b90077a0 	str	w0, [x29, #116]
 110:	b9404ba1 	ldr	w1, [x29, #72]
 114:	90000000 	adrp	x0, 0 <main>
 118:	91000000 	add	x0, x0, #0x0
 11c:	94000000 	bl	0 <printf>
 120:	9100e3a0 	add	x0, x29, #0x38
 124:	aa0003e2 	mov	x2, x0
 128:	d29122a1 	mov	x1, #0x8915                	// #35093
 12c:	b940cfa0 	ldr	w0, [x29, #204]
 130:	94000000 	bl	0 <ioctl>
 134:	3100041f 	cmn	w0, #0x1
 138:	540000c1 	b.ne	150 <main+0x150>  // b.any
 13c:	90000000 	adrp	x0, 0 <main>
 140:	91000000 	add	x0, x0, #0x0
 144:	94000000 	bl	0 <perror>
 148:	52800020 	mov	w0, #0x1                   	// #1
 14c:	94000000 	bl	0 <exit>
 150:	9100e3a0 	add	x0, x29, #0x38
 154:	91004000 	add	x0, x0, #0x10
 158:	b9400400 	ldr	w0, [x0, #4]
 15c:	b90063a0 	str	w0, [x29, #96]
 160:	9100e3a0 	add	x0, x29, #0x38
 164:	91004000 	add	x0, x0, #0x10
 168:	b9400400 	ldr	w0, [x0, #4]
 16c:	94000000 	bl	0 <inet_ntoa>
 170:	2a0003e1 	mov	w1, w0
 174:	90000000 	adrp	x0, 0 <main>
 178:	91000000 	add	x0, x0, #0x0
 17c:	94000000 	bl	0 <printf>
 180:	9100e3a0 	add	x0, x29, #0x38
 184:	aa0003e2 	mov	x2, x0
 188:	d29124e1 	mov	x1, #0x8927                	// #35111
 18c:	b940cfa0 	ldr	w0, [x29, #204]
 190:	94000000 	bl	0 <ioctl>
 194:	3100041f 	cmn	w0, #0x1
 198:	540000c1 	b.ne	1b0 <main+0x1b0>  // b.any
 19c:	90000000 	adrp	x0, 0 <main>
 1a0:	91000000 	add	x0, x0, #0x0
 1a4:	94000000 	bl	0 <perror>
 1a8:	52800020 	mov	w0, #0x1                   	// #1
 1ac:	94000000 	bl	0 <exit>
 1b0:	9100c3a0 	add	x0, x29, #0x30
 1b4:	91012ba1 	add	x1, x29, #0x4a
 1b8:	b9400022 	ldr	w2, [x1]
 1bc:	b9000002 	str	w2, [x0]
 1c0:	b8402021 	ldur	w1, [x1, #2]
 1c4:	b8002001 	stur	w1, [x0, #2]
 1c8:	3940c3a0 	ldrb	w0, [x29, #48]
 1cc:	2a0003e1 	mov	w1, w0
 1d0:	3940c7a0 	ldrb	w0, [x29, #49]
 1d4:	2a0003e2 	mov	w2, w0
 1d8:	3940cba0 	ldrb	w0, [x29, #50]
 1dc:	2a0003e3 	mov	w3, w0
 1e0:	3940cfa0 	ldrb	w0, [x29, #51]
 1e4:	2a0003e4 	mov	w4, w0
 1e8:	3940d3a0 	ldrb	w0, [x29, #52]
 1ec:	2a0003e5 	mov	w5, w0
 1f0:	3940d7a0 	ldrb	w0, [x29, #53]
 1f4:	2a0003e6 	mov	w6, w0
 1f8:	90000000 	adrp	x0, 0 <main>
 1fc:	91000000 	add	x0, x0, #0x0
 200:	94000000 	bl	0 <printf>
 204:	910223a0 	add	x0, x29, #0x88
 208:	f90063a0 	str	x0, [x29, #192]
 20c:	f94063a0 	ldr	x0, [x29, #192]
 210:	aa0003e1 	mov	x1, x0
 214:	9100a3a0 	add	x0, x29, #0x28
 218:	b9400002 	ldr	w2, [x0]
 21c:	b9000022 	str	w2, [x1]
 220:	b8402000 	ldur	w0, [x0, #2]
 224:	b8002020 	stur	w0, [x1, #2]
 228:	f94063a0 	ldr	x0, [x29, #192]
 22c:	91001800 	add	x0, x0, #0x6
 230:	aa0003e1 	mov	x1, x0
 234:	9100c3a0 	add	x0, x29, #0x30
 238:	b9400002 	ldr	w2, [x0]
 23c:	b9000022 	str	w2, [x1]
 240:	b8402000 	ldur	w0, [x0, #2]
 244:	b8002020 	stur	w0, [x1, #2]
 248:	528100c0 	mov	w0, #0x806                 	// #2054
 24c:	94000000 	bl	0 <htons>
 250:	12003c01 	and	w1, w0, #0xffff
 254:	f94063a0 	ldr	x0, [x29, #192]
 258:	79001801 	strh	w1, [x0, #12]
 25c:	910223a0 	add	x0, x29, #0x88
 260:	91003800 	add	x0, x0, #0xe
 264:	f9005fa0 	str	x0, [x29, #184]
 268:	52800020 	mov	w0, #0x1                   	// #1
 26c:	94000000 	bl	0 <htons>
 270:	12003c01 	and	w1, w0, #0xffff
 274:	f9405fa0 	ldr	x0, [x29, #184]
 278:	79000001 	strh	w1, [x0]
 27c:	52810000 	mov	w0, #0x800                 	// #2048
 280:	94000000 	bl	0 <htons>
 284:	12003c01 	and	w1, w0, #0xffff
 288:	f9405fa0 	ldr	x0, [x29, #184]
 28c:	79000401 	strh	w1, [x0, #2]
 290:	f9405fa0 	ldr	x0, [x29, #184]
 294:	528000c1 	mov	w1, #0x6                   	// #6
 298:	39001001 	strb	w1, [x0, #4]
 29c:	f9405fa0 	ldr	x0, [x29, #184]
 2a0:	52800081 	mov	w1, #0x4                   	// #4
 2a4:	39001401 	strb	w1, [x0, #5]
 2a8:	52800020 	mov	w0, #0x1                   	// #1
 2ac:	94000000 	bl	0 <htons>
 2b0:	12003c01 	and	w1, w0, #0xffff
 2b4:	f9405fa0 	ldr	x0, [x29, #184]
 2b8:	79000c01 	strh	w1, [x0, #6]
 2bc:	f9405fa0 	ldr	x0, [x29, #184]
 2c0:	91002000 	add	x0, x0, #0x8
 2c4:	aa0003e1 	mov	x1, x0
 2c8:	9100c3a0 	add	x0, x29, #0x30
 2cc:	b9400002 	ldr	w2, [x0]
 2d0:	b9000022 	str	w2, [x1]
 2d4:	b8402000 	ldur	w0, [x0, #2]
 2d8:	b8002020 	stur	w0, [x1, #2]
 2dc:	f9405fa0 	ldr	x0, [x29, #184]
 2e0:	91003800 	add	x0, x0, #0xe
 2e4:	b94063a1 	ldr	w1, [x29, #96]
 2e8:	b9000001 	str	w1, [x0]
 2ec:	f9400ba0 	ldr	x0, [x29, #16]
 2f0:	91004000 	add	x0, x0, #0x10
 2f4:	f9400000 	ldr	x0, [x0]
 2f8:	9101a3a1 	add	x1, x29, #0x68
 2fc:	aa0103e2 	mov	x2, x1
 300:	aa0003e1 	mov	x1, x0
 304:	52800040 	mov	w0, #0x2                   	// #2
 308:	94000000 	bl	0 <inet_pton>
 30c:	f9405fa0 	ldr	x0, [x29, #184]
 310:	91006000 	add	x0, x0, #0x18
 314:	b9406ba1 	ldr	w1, [x29, #104]
 318:	b9000001 	str	w1, [x0]
 31c:	52800220 	mov	w0, #0x11                  	// #17
 320:	7900e3a0 	strh	w0, [x29, #112]
 324:	9101c3a1 	add	x1, x29, #0x70
 328:	910223a0 	add	x0, x29, #0x88
 32c:	52800285 	mov	w5, #0x14                  	// #20
 330:	aa0103e4 	mov	x4, x1
 334:	52800003 	mov	w3, #0x0                   	// #0
 338:	d2800542 	mov	x2, #0x2a                  	// #42
 33c:	aa0003e1 	mov	x1, x0
 340:	b940cfa0 	ldr	w0, [x29, #204]
 344:	94000000 	bl	0 <sendto>
 348:	b900b7a0 	str	w0, [x29, #180]
 34c:	b940cfa0 	ldr	w0, [x29, #204]
 350:	94000000 	bl	0 <close>
 354:	52800000 	mov	w0, #0x0                   	// #0
 358:	a8cd7bfd 	ldp	x29, x30, [sp], #208
 35c:	d65f03c0 	ret
